package com.ruoyi.system.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntityPlus;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotNull;

/**
 * 回收员实时位置对象 web_user_location
 * 
 * @author wsliupan@126.com
 * @date 2021-06-02
 */
@ApiModel("回收员实时位置对象")
public class WebUserLocation extends BaseEntityPlus
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @ApiModelProperty(hidden = true)
    private Long id;

    /** 回收员ID */
    @Excel(name = "回收员ID")
    @ApiModelProperty(value = "回收员ID" )
    @NotNull(message = "回收员ID不能为空")
    private Long userId;

    @TableField(exist = false)
    private String realname;

    @TableField(exist = false)
    private String mobile;

    /** 经度 */
    @Excel(name = "经度")
    @ApiModelProperty(value = "经度")
    @NotNull(message = "经度不能为空")
    private String longitude;

    /** 纬度 */
    @Excel(name = "纬度")
    @ApiModelProperty(value = "纬度")
    @NotNull(message = "纬度不能为空")
    private String latitude;

    //重写delete,不要update，直接删除
//    private String deleted;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

//    @Override
//    public String getDeleted() {
//        return deleted;
//    }
//
//    @Override
//    public void setDeleted(String deleted) {
//        this.deleted = deleted;
//    }

    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setLongitude(String longitude) 
    {
        this.longitude = longitude;
    }

    public String getLongitude() 
    {
        return longitude;
    }
    public void setLatitude(String latitude) 
    {
        this.latitude = latitude;
    }

    public String getLatitude() 
    {
        return latitude;
    }

    public String getRealname() {
        return realname;
    }

    public void setRealname(String realname) {
        this.realname = realname;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }
}
